package com.yu.crm.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 日志附件中间表
 *
 * @author song
 * @since 2019-12-28
 */
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PubUserLogAttachment对象", description="日志附件中间表")
public class PubUserLogAttachment implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.NONE)
    private Long id;

    @TableField("app_id")
    private Integer appId;

    @ApiModelProperty(value = "用户行为日志id")
    @TableField("log_id")
    private Long logId;

    @ApiModelProperty(value = "附件id")
    @TableField("attachment_id")
    private Long attachmentId;

    @ApiModelProperty(value = "创建人")
    @TableField("create_user_id")
    private String createUserId;

    @ApiModelProperty(value = "创建时间")
    @TableField("gmt_create")
    private String gmtCreate;

    @ApiModelProperty(value = "0：未删除  1：已删除")
    @TableField("is_deleted")
    private Integer isDeleted;


}
